package com.dq.Week3.day13.ddz;

import java.util.*;

/**
 * 扑克牌类
 * 模拟斗地主发牌功能
 */
public class PukeCard {

    private String type;  // 红桃，方块，黑桃，梅花

    private String point; // 点数 3-10，J，Q，K，A，2，小王,大王

    public PukeCard() {
    }

    public PukeCard(String type, String point, Integer value) {
        this.type = type;
        this.point = point;
        this.value = value;
    }

    private Integer value;  // 大小的值， 3的value=0  4的value=1

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return this.type+this.point;
    }
}
